package com.newer.service.crm.iter;

import java.util.List;

import javax.jws.WebService;

import com.newer.pojo.crm.Customer;

@WebService
public interface CustomerService {
	/**
	 * 查询所有客户信息
	 * 
	 * @return
	 */
	public List<Customer> findAll();

	// 查询未关联到定区的客户
	public List<Customer> findListNotAssociation();

	// 查询已经关联到指定定区的客户
	public List<Customer> findListHasAssociation(Integer decidedzoneId);

	// 定区关联客户
	public void assigncustomerstodecidedzone(Integer decidedzoneId, List<Integer> customerIds);

	// 根据客户手机号查询客户信息
	public Customer findCustomerByTelephone(String telephone);

	// 根据客户的地址查询定区id
	public String findDecidedzoneIdByAddress(String address);
}
